* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-1);
  font-size: 14px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

div {
  box-sizing: border-box;
}

p {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  vertical-align: middle;
}

.pos_relative {
  position: relative;
}

.pos_absolute {
  position: absolute;
  inset: 0;
}

.mt-10 {
  margin-top: 10px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-15 {
  margin-bottom: 15px;
}

.iconfont {
  font-size: 18px !important;
}

.wh_100 {
  width: 100%;
}

.wh {
  width: 100%;
  height: 100%;
}

.whov {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ov {
  overflow: hidden;
}

.ov_auto {
  overflow: hidden auto;
}

.wh_auto {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden auto;
}

.flex_header_main {
  display: flex;
  flex-direction: column;

  .flex_header {
    flex-shrink: 0;
    height: auto;
  }

  .flex_main {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .flex_bottom {
    flex-shrink: 0;
    height: auto;
  }
}

.flex_left_right {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;

  .flex_left {
    flex-shrink: 0;
    width: 40px;
  }

  .flex_right {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
